#!/bin/bash
# shell script to execute heat analysis

clear

echo " "
echo "----------------------------------------------------------"
echo "               PARTICLE LASER INTERACTION                 "
echo "                   Sigfried Haering                       "
echo "            The Univeristy of Texas at Austin             "
echo "                         2011                             " 
echo "----------------------------------------------------------"
echo " "
echo " compiling source code ..."
make clean
make
echo " "
if [ -e ./heat ]; then
   echo "Success!"
   echo "running compiled program ..."
   echo "----------------------------------------------------------"
   ./heat
else
   echo "Compile Failed..."
fi
echo " "
echo "----------------------------------------------------------"
echo " "